<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Deposit - NeonBank</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" rel="stylesheet">
    <link href="{{ url_for('static', filename='css/style.css') }}" rel="stylesheet">
    <link rel="icon" href="{{ url_for('static', filename='favicon.ico') }}">
</head>
<body>
    <div id="particle-background" class="particle-background"></div>
    <div class="container mt-5">
        <h1 class="text-center neon-text mb-4 animate__animated animate__pulse"><i class="fas fa-money-bill-wave me-2"></i>Deposit</h1>
        <div class="card glass-card p-4 mx-auto animate__animated animate__fadeIn" style="max-width: 500px;">
            <a href="{{ url_for('index') }}" class="btn btn-neon mb-3 ripple"><i class="fas fa-arrow-left me-2"></i>Back to Dashboard</a>
            <form method="post">
                <div class="mb-3">
                    <label for="account_id" class="form-label">Account</label>
                    <select class="form-control" id="account_id" name="account_id" required>
                        {% for account in accounts %}
                        <option value="{{ account[0] }}">{{ account[0] }} - {{ account[1] }} (Balance: ${{ "%.2f" | format(account[2] | float) }})</option>
                        {% endfor %}
                    </select>
                </div>
                <div class="mb-3">
                    <label for="amount" class="form-label">Amount</label>
                    <input type="number" step="0.01" class="form-control" id="amount" name="amount" required>
                </div>
                <button type="submit" class="btn btn-neon w-100 ripple"><i class="fas fa-check me-2"></i>Deposit</button>
            </form>
        </div>
    </div>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/particles.js/2.0.0/particles.min.js"></script>
</body>
</html>